package com.wxb.service.impl;

import com.wxb.domain.MallCommentPictureEntity;
import com.wxb.mapper.MallCommentPictureMapper;
import com.wxb.service.IMallCommentPictureService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Date 2025-05-30 14:30
 * @Version 1.0
 * @Description
 * @ClassName MallCommentPictureServiceImpl
 **/
@Service
public class MallCommentPictureServiceImpl implements IMallCommentPictureService {
    @Autowired
    private MallCommentPictureMapper commentPictureDao;


    public MallCommentPictureEntity queryObject(Integer id) {
        return commentPictureDao.queryObject(id);
    }


    public List<MallCommentPictureEntity> queryList(Map<String, Object> map) {
        return commentPictureDao.queryList(map);
    }


    public int queryTotal(Map<String, Object> map) {
        return commentPictureDao.queryTotal(map);
    }

    public int save(MallCommentPictureEntity comment) {
        return commentPictureDao.save(comment);
    }


    public void update(MallCommentPictureEntity comment) {
        commentPictureDao.update(comment);
    }


    public void delete(Integer id) {
        commentPictureDao.delete(id);
    }


    public void deleteBatch(Integer[] ids) {
        commentPictureDao.deleteBatch(ids);
    }
}
